﻿/***************************************************************************
*		功能：     @ClassSummary@实体类(代码生成工具搞定的)
*		作者：     @AuthorName@
*		日期：     @Datetime@
*		
*		修改日期：
*		修改人：
*		修改内容：
/* *************************************************************************/
using System;
using System.Xml.Serialization;
using System.Runtime.Serialization;
using System.IO;
using System.Text;
using System.Data;
using Deeper.DataAccess;
using Deeper.Common;
using Deeper.Common.Web;
using System.Collections.Generic;
namespace @ProjectName@.@ModelNameSpace@
{
	/// <summary>
	/// @ClassSummary@
	/// </summary>
	[Serializable]
	[HTable(TableName = "@TableName@", EntityName = "@ClassName@")]
	public partial class @ClassName@ :  IModel
	{
        /// <summary>
        /// 是否新参数
        /// </summary>
        public bool IsNewModel() { return @Pid@ == 0; }

	    #region 所有的字段
	 
	    @FieldsForeach@
		/// <summary>
		/// @CMemo@
		/// </summary>
		@HColumnInfo@
		public @Type@ @CName@ { set; get; }
        @EndField@


        public class F
        {
    		 @FieldsForeach@
			 /// <summary>
			 /// @CMemo@
			 /// </summary>
			 public static Field @CName@ = new Field("@TableName@","@CName@");
	    	 @EndField@
        }
        #endregion
		  
	 
	}
    
}